<h2>Datos Extras</h2>

<table>
  <tr>
    <th>Horse</th>
    <th>Owner</th>
    <th>Trinner</th>
    <th>Description</th>
  </tr>

<% @horsedatas.each do |horsedata| %>
  <tr>
    <td><%=h horsedata.horse_id %></td>
    <td><%=h horsedata.owner %></td>
    <td><%=h horsedata.trinner %></td>
    <td><%=h horsedata.description %></td>
    <td><%= link_to 'Show', horsedata %></td>
    <td><%= link_to 'Edit', edit_horsedata_path(horsedata) %></td>
    <td><%= link_to 'Destroy', horsedata, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New horsedata', new_horsedata_path %>